home *** CD-ROM | disk | FTP | other *** search
/ Night Owl 6 / Night Owl's Shareware - PDSI-006 - Night Owl Corp (1990).iso / 049a / tag3.zip / DUP.DOC < prev    next >
Text File  |  1991-09-28  |  2KB  |  51 lines

  1. DUP-licate entry/line removal-
  2.   rewrite of DUP adding switches "A", "E" and "S".
  3.   The main addition was the switch "A".  This was done to process
  4.   duplicate taglines whose main difference was a ".", "!",  "..."
  5.   or the like, at the end of the line.
  6.  
  7. Command line and switches are:
  8. DUP file.in [file.out] [-AEU /CnLn /S]
  9.   A-lphanumeric only FALSE
  10.   E-cho dups to CON: FALSE
  11.   F-orce upper case  TRUE
  12.   S-witch display    FALSE
  13.   C-olumn start      1
  14.   L-ength (from col) 255
  15.   n = number
  16.   DUP test.txt /Ac10L6 -s
  17. by L.Barker
  18.  
  19. The above is what is shown if no parameters are given
  20.  
  21. Switch          Default
  22. A-lphanumeric only  F   Only compare Alpha characters and numbers
  23.                         allowing for differences in phrases.  If
  24.                         half the line, or more, are graphics then
  25.                         those characters will be included in the
  26.                         compare.  Example:
  27.                         if T then "<The End>" equals "The End."
  28.  
  29. E-cho dups to CON:  F   If an output file is included and Echo = T
  30.                         then removed dups will be sent to the CON:
  31.                         Example: DUP txt.in txt.out /e > text.dup
  32.  
  33. F-orce upper case   T   If T force the line to compare to capitals.
  34.                         Example: If T then "ABC" equals "abc"
  35.                         "DUP file -F" does not force "xyz" to "XYZ"
  36.  
  37. S-witch display     F   Or "?" or "H".  If True exits the "DUP"
  38.                         program showing the active switch settings.
  39.  
  40. C-olumn start       1   Start compare in the column.  See "L"
  41.  
  42. L-ength (from col)  255 Compare up to the following number of bytes
  43.                         Example: If C=2 and L=2
  44.                                  then "ABCDE" equals "ZBCXY"
  45.                         Note: File being tested should be sorted on
  46.                              the same field or results are invalid.
  47.  
  48. Valid command lines:    "DUP file.in -aEc2"
  49.                         "DUP text nul /U -e /C2 > dup.txt"
  50.                         "DUP file -ae/c2L4"
  51.